package com.barneyx.mshinfoplatform.mapper.admin;

import com.barneyx.mshinfoplatform.entity.admin.AdminRolePermissionMapEntity;
import com.barneyx.mshinfoplatform.mapper.MshBaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface IAdminRolePermissionMapEntityMapper extends MshBaseMapper<AdminRolePermissionMapEntity> {
    @Delete("DELETE FROM `msh_infos`.`msh_admin_role_permission_map_list` WHERE  `role_id`=#{roleid};")
    long deleteRolePermissionMapByRoleId(@Param("roleid") String roleid);
//    long deleteRolePermissionMapByRoleId(String roleid);
}
